"""
大于身高的平均值
"""
#输入
height_list = input().split(' ')
#计算平均值
sum = 0
for data in height_list:
    sum += int(data)

height_mean = sum/len(height_list)

#输出
for data in height_list:
    if int(data) > height_mean:
        print(data,end=' ')
